<template lang="">
    <div>
        <van-nav-bar title="患者入组科研项目" />
        <div class="item-list">
            <div class="item">
                <div class="item-title">弥漫性大B细胞淋巴瘤</div>
                <div class="item-detail">
                    <div class="item-left">
                        <div class="item-people">
                            <div class="people-left">参研人员</div>
                            <div class="people-right">120人</div>
                        </div>
                        <div class="item-people">
                            <div class="people-left">受试人数</div>
                            <div class="people-right">120人</div>
                        </div>
                    </div>
                    <div class="item-right">
                        选择项目
                    </div>
                </div>
            </div>

            <div class="item">
                <div class="item-title">弥漫性大B细胞淋巴瘤</div>
                <div class="item-detail">
                    <div class="item-left">
                        <div class="item-people">
                            <div class="people-left">参研人员</div>
                            <div class="people-right">120人</div>
                        </div>
                        <div class="item-people">
                            <div class="people-left">受试人数</div>
                            <div class="people-right">120人</div>
                        </div>
                    </div>
                    <div class="item-right">
                        进入项目 
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
import { ref, reactive } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { getItem, getItemCate, addItemCate } from "../api/index"
import { getUserInfo, log, LOCAL_USER } from "../utils/user"
import { showToast, showConfirmDialog } from 'vant';
export default {
    setup() {
        const router = useRouter()
        const route = useRoute()
        const userInfo = getUserInfo();

        const tab = ref('zl')
        return {
            tab
        }
    }
}
</script>
<style scoped>
.item-list{
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.item{
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #E3E4E5;
}

.item-title{
    padding-bottom: 12px;
}

.item-detail{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.item-people{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 250;
}

.people-left{
    margin-right: 20px;
}

.item-right{
    color:#0052D9; 
    font-size:14px
}
</style>